home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / Tumbler and Podium / Tumbler_cursor.c < prev    next >
Encoding:
Text File  |  1995-05-31  |  615 b   |  39 lines  |  [TEXT/MPS ]

  1. //
  2. //
  3. //        cursor.c
  4. //
  5. //        Cursor handling routines.
  6. //        
  7. //
  8. //        Author:        Nick Thompson & Pablo Fernicola, with thanks to the QuickDraw 3D team
  9. //
  10. //        Copyright © 1992-95 Apple Computer, Inc., All Rights Reserved
  11. //
  12.  
  13. #include "Tumbler_globals.h"
  14. #include "Tumbler_prototypes.h"
  15. #include "Tumbler_resources.h"
  16.  
  17. #include "QD3DView.h"
  18. #include "QD3DDrawContext.h"
  19. #include "QD3DPick.h"
  20.  
  21. #include "Tumbler_cursor.h"
  22.  
  23.  
  24.  
  25. void AdjustCursor(Point theLoc, RgnHandle theRgn)
  26. {
  27.     // do nothing for now
  28. }
  29.  
  30.  
  31. void GetGlobalMouse(Point *theLoc)
  32.  
  33. {    EventRecord        theEvent;
  34.     
  35.     OSEventAvail(0, &theEvent);
  36.     *theLoc = theEvent.where;
  37. }
  38.  
  39.